# include "infoSys.hh"
# include <string>
# include <pwd.h>
# include <unistd.h>

std::string getUsrNme(void)
{
    passwd* pwd;
    pwd = getpwuid(getuid());
    std::string userName = pwd->pw_name;

    return userName;
}